@tailwind base;
@tailwind components;
@tailwind utilities;

.page-bg {
    min-height: 100vh;
    background-image: url('./assets/images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-box {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 32px;
    width: 100%;
    max-width: 1024px;
    margin: 88px auto;
}

.test-button {
    display: block;
    margin: 0 auto;
}

.judge-button {
    justify-self: center;
}

.word-checkbox {
    padding: 0.5rem;
    border-radius: 0.25rem;
}

.word-checkbox:hover {
    background: #f3f4f6;
}

/* 添加全局样式 */
.el-button {
    height: 48px;
    font-size: 16px;
    border-radius: 10px;
}

/* 确保所有标题居中 */
h1,
h2,
h3,
p {
    text-align: center;
    width: 100%;
}

@property --progress {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 0%;
}

.g-progress {
    margin: 32px auto -13px auto;
    width: 320px;
    height: 12px;
    border-radius: 25px;
    background: linear-gradient(90deg, rgb(214, 235, 20, 0.8), rgb(66, 185, 14, 0.7) var(--progress), transparent 0);
    border: 1px solid rgb(66, 185, 14);
    transition: .3s --progress;
}